home *** CD-ROM | disk | FTP | other *** search
- Zoo
-
- A Fast File Archiver
- Version 1.10 - 24 August 1986
-
- by
-
- Rahul Dhesi
-
-
- UPDATE NOTES
-
-
- This is an update to the Zoo user manual. If you have a user manual for any
- earlier version of Zoo, this update contains all information needed to allow
- you to use Zoo 1.10.
-
-
- COMMAND SUMMARY
-
- Zoo has two types of commands: Expert commands, which consist of one com-
- mand letter followed by zero or more modifier characters, and Novice com-
- mands, which consist of a hyphen ("-") followed by a command word that may
- be abbreviated. Novice commands let you begin using Zoo quickly. Unlike
- Expert commands, which are case-sensitive, Novice commands can be given in
- any combination of upper- and lowercase characters.
-
- Expert commands are cryptic but offer you many more flexible options. Start
- with the Novice commands and switch to using the Expert commands as soon as
- you can.
-
-
- 1. Zoo Novice Command Format:
-
- ZOO cmd archive[.ZOO] [file] ...
-
- Each Novice command works in two stages. First, the command does its inten-
- ded work. Then, if the result was that one or more files were deleted in
- the specified archive, the archive is packed to recover space.
-
- Novice Equivalent
- Command Description Expert Command
- ------- ----------- --------------
- -add add files to archive aP
- -extract extract files from archive x
- -move move files to archive aMP
- -test test archive integrity xNd
- -print extract files and send to standard output xp
- -delete delete files from archive DP
- -list list information about archived files l
- -update update archive by adding new or newer files aunP
- -freshen freshen archive by adding newer files auP
- -comment allows user to attach comments to files c
-
- Novice commands may be abbreviated as much as you wish, up to a minimum of a
- hyphen ("-") followed by at least one command character. For example, the
- novice command "-extract" may be abbreviated to "-ext", "-ex", or "-e".
- Novice commands are described in more detail later.
-
-
- 2. Zoo Expert Command Format:
-
- ZOO {acDehlPTuUvx}[cdEfnMNoOpPquv1] archive[.ZOO] [file] ...
-
- Invoking Zoo as "zoo h" will give a help screen. Zoo Expert commands are
- described in detail later.
-
-
- NOVICE COMMANDS
-
-
- 1. Adding Files to an Archive
-
- Format: ZOO -add archive[.ZOO] file ...
-
- The specified files are added to the archive. If all specified files
- were added without any error, and if this resulted in deletion of a
- file that was already in the archive, the archive is packed.
-
-
- 2. Extracting Files from an Archive
-
- Format: ZOO -extract archive[.ZOO] [file] ...
-
- The specified files are extracted from the archive. If no file was
- specified, all files are extracted from the archive. All extracted
- files go into the current directory.
-
-
- 3. Moving Files to an Archive
-
- Format: ZOO -move archive[.ZOO] file ...
-
- -Move works just like -add, except that after all files have been
- added, if no error occurred, the added files are deleted from disk.
-
-
- 4. Testing an Archive
-
- Format: ZOO -test archive[.ZOO]
-
- This is equivalent to the -extract command, except that extracted files
- are not saved. If no CRC error or other error occurs during execution
- of the -test command, this indicates with a high degree of confidence
- that the archive is not corrupted.
-
-
- 5. Printing Files from an Archive
-
- Format: ZOO -print archive[.ZOO] [file] ...
-
- This option extracts specified files from the archive and sends the
- extracted data to standard output, which is normally the screen.
-
-
- 6. Deleting Files in an Archive
-
- Format: ZOO -delete archive[.ZOO] file ...
-
- The specified files are deleted from the archive, and then the archive
- is packed to recover space that was occupied by the deleted files.
-
-
- 7. Listing Files in an Archive
-
- Format: ZOO -list archive[.ZOO] [file] ...
-
- This gives a list of the specified files along with information about
- each file's original size, size as stored in the archive, compression
- factor, and date.
-
-
- 8. Updating an Archive
-
- Format: ZOO -update archive[.ZOO] file ...
-
- This command is like -add, except that if a file being added is already
- in the archive, it is added only if the copy being added is newer than
- the copy already in the archive. The -update command adds all the
- files that the -freshen command would add (below) and also adds any
- files that are not already in the archive.
-
-
- 9. Freshening an Archive
-
- Format: ZOO -freshen archive[.ZOO] file ...
-
- This command is like -add, except that a file is added only if it is
- already in the archive, AND if the copy being added is newer than the
- copy already in the archive.
-
- The -freshen command simply brings archived files up to date without
- adding any files that weren't already in the archive.
-
-
- 10. Adding comments to an Archive
-
- Format: ZOO -comment archive[.ZOO] file ...
-
- Zoo allows each archived file to have an optional attached comment.
- Any comment attached to a file is listed when the Novice -list command
- is given. The -comment command allows comments to be attached,
- removed, and updated.
-
- When invoked with the -comment command, Zoo goes through the specified
- archive and for each matching file, shows you the comment (if any) and
- allows you to type a replacement comment. Your choices are:
-
- o Type a carriage return alone to leave unchanged any attached
- comment.
- o Type "/END" and carriage return to remove any comment attached to
- the file.
- o Type a comment of up to 65,535 characters long. Terminate it by
- typing "/END" by itself on the last line. The new comment will
- replace any previous comment.
-
- For better formatting in listings, keep each line of the comment to 77
- characters or less. Since comments are not compressed, they should not
- be excessively long.
-
- It is possible to create a file of comments with a text editor and give
- it to Zoo as input using DOS's input redirection character "<". In
- this case, the comments in the file must be in exact sequence. If this
- input file has fewer comments than Zoo expects, comments for remaining
- matching files will be left unchanged.
-
- If end-of-file is reached before all comments have been accounted for,
- Zoo simply leaves all remaining files' comments unchanged. End-of-file
- can be caused by the user typing a control Z interactively or the
- redirected input being smaller than Zoo expects.
-
- Examples: "zoo -comment batch *.bat" shows any comment that may be
- attached to each *.bat file in the archive "batch.zoo" and allows you
- to type a new comment. Type as many lines as you wish, then type
- "/END" by itself on a line to terminate the comment. If, however, you
- want to leave the original comment unchanged, just hit return. You may
- type control Z at any point to leave all remaining files' comments
- unchanged.
-
- "zoo -comment qmodem *.doc *.00? <qcomment.txt" makes Zoo read new
- comments from the file "qcomment.txt". For each file matching *.doc
- and *.00?, Zoo reads data from qcomment.txt and reacts exactly as with
- interactive input: an empty line (carriage return alone) in
- "qcomment.txt" leaves the original comment unchanged; "/END" by itself
- removes the original comment; any other text terminated by "/END" on a
- separate line replaces a comment. If "qcomment.txt" ends prematurely,
- all remaining files have their comments left unchanged.
-
-
-
- EXPERT COMMANDS
-
- 1. Adding Files to an Archive
-
- Format: ZOO {au}[cfMnPqu] archive[.ZOO] file ...
-
- New Modifier:
-
- c Add comments when adding files. Equivalent to the Novice -comment
- command.
-
- Note: Since comments for replaced files become automatically
- attached to corresponding newly-added files, the freshening of an
- archive with the Novice -freshen command or the Expert au command
- does not cause loss of comments.
-
- Also note that the u modifier adds a file to an archive only if the copy
- being added is newer than the already-archived copy.
-
- All combinations of the [cfMnPqu] modifiers are valid. The combination of n
- and u together adds a file to the archive either if the file is not already
- in the archive, OR if the file is already in the archive but the archived
- copy is older than the copy being added.
-
-
- 2. Extracting Files from an Archive
-
- Format: ZOO {ex}[dNoOpq] archive[.ZOO] [file] ...
-
-
- 3. Listing Files in an Archive
-
- Format: ZOO {lv}[dfv] archive[.ZOO] [file] ...
-
- Changed Command Character:
-
- v Verbose list. Equivalent to l but also shows any comment attached
- to each file. Currently, the v command shows the entire comment
- attached to each file. Version 2.00 of Zoo is expected to allow
- the user to specify that only the first n lines of each comment be
- shown.
-
- If f and v modifiers are used together, f overrrides v.
-
-
- 3. Deleting Files in an Archive
-
- Format: ZOO D[Pq1] archive[.ZOO] file ...
-
- See any earlier manual for details.
-
-
- 4. Undeleting Files in an Archive
-
- Format: ZOO U[q1] archive[.ZOO] file ...
-
- See any earlier manual for details.
-
-
- 5. Adjusting the Timestamp of an Archive
-
- Format: ZOO T[q] archive[.ZOO]
-
- See any earlier manual for details.
-
-
- 6. Packing an Archive
-
- Format: ZOO P[EPq] archive[.ZOO]
-
- See any earlier manual for details. Also note that the original
- archive is renamed to an extension of ".bak" regardless of which
- disk/directory it is on.
-
-
- CONVERSION FROM OTHER FORMATS TO ZOO FORMAT
-
- Note that due to differences between the batch languages of DOS 3.x and DOS
- 2.x, Atoz 1.00 works only with DOS 2.x.
-
-
- VERSION COMPATIBILITY
-
- Zoo 1.10 can add information to an archive in the form of attached comments
- that earlier versions of Zoo cannot interpret. Earlier versions of Zoo will
- list and extract files from version 1.10 archives and delete and undelete
- files in them. But to avoid any loss of information, earlier versions of
- Zoo will refuse to modify version 1.10 archives in any other way. Instead,
- the following message will be given: "Version 1.10 of Zoo is needed to
- fully manipulate this archive."